package com.xn.api;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;


@FeignClient(value = "xn-stock-service")
public interface StockApi {

    @GetMapping("stock/stock/lock")
    Boolean lockStock();
}
